﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Task/Task.master" AutoEventWireup="true" StylesheetTheme="Content" CodeFile="DocumentReName.aspx.cs" Inherits="Task_BaseDoc_DocumentReName" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
 <style>
        #menu
        {
            background: #F1EFEF;
            border: solid #CCCCCC 1px;
        }
        #menu ul
        {
            display: block;
            list-style: none;
            margin: 5px;
            padding: 0px;
        }
        #menu ul li
        {
            display: inline;
        }
        #menu ul li a
        {
            color: #000000;
            text-decoration: none;
            padding: 3px;
            font-size: 14px;
        }
        #menu ul li a img
        {
            border: none;
        }
        .jqmWindow
        {
            display: none;
            position: fixed;
            top: 17%;
            left: 50%;
            margin-left: -300px;
            width: 500px;
            background-color: #EEE;
            color: #333;
            border: 1px solid #666;
            padding: 12px;
        }
             
    </style>
    
    <div id="menu">
        <ul>
            <li><a href="#">
                <img title="刷新" alt="刷新" src="../../Images/ico/refresh1.gif" />
            </a></li>
            <li><a href="#" id="create">
                <img title="新建" alt="新建" src="../../Images/ico/folder_new1.gif" />
            </a></li>
            <li><a href="javascript:void(0);" id="cut">
                <asp:ImageButton ID="ibtnCut" Enabled="false" ToolTip="剪切" ImageUrl="~/Images/ico/cut1.gif" runat="server" />
            </a></li>
            <li><a href="javascript:void(0);" id="copy">
                <asp:ImageButton ID="ibtnCopy"  ToolTip="复制" Enabled="false"  ImageUrl="~/Images/ico/copy1.gif" runat="server" /></a></li>
            <li><a href="javascript:void(0);" id="paste">
                <asp:ImageButton ID="ibtnPaste" Enabled="false" ToolTip="粘贴" ImageUrl="~/Images/ico/paste1.gif" 
                    runat="server"  /></a></li>
            <li><a href="javascript:void(0);" id="rename">
                <asp:ImageButton ID="ibtnRename" Enabled="false" ToolTip="重命名" ImageUrl="~/Images/ico/rename1.gif"
                    runat="server" /></a></li>
            <li><a href="javascript:void(0);" id="delete">
                <asp:ImageButton ID="ibtnDelete" Enabled="false" ToolTip="删除文件" ImageUrl="~/Images/ico/delete1.gif"
                    runat="server" /></a></li>
            <li><a href="javascript:void(0);" id="upload">
                <img title="上传" alt="上传" src="../../Images/ico/up1.gif" /></a> </li>
                <li> <a href="DocumentList.aspx"> <font color="red"> 返回上级目录>></font></a></li>
        </ul>
    </div>
    <div style=" width:100%; margin-top:10px;">请选择输入新文件名：<asp:TextBox Width="400px" ID="txtFileName" runat="server"></asp:TextBox>
        <asp:Button ID="btnModify" runat="server" Text="重命名" 
            onclick="btnModify_Click" />
        <br />
        <asp:Label ID="lblPrompt" runat="server" ForeColor="Red"></asp:Label></div>
</asp:Content>

